package com.appspot.bs24event.controller.common;

import org.apache.log4j.Logger;
import org.slim3.controller.BaseController;
import org.slim3.controller.Navigation;

/**
 * NotFoundController.
 *
 * @version $Id: NotFoundController.java 177 2011-08-11 07:48:34Z bs24event@gmail.com $
 */
public class NotFoundController extends BaseController {

    /** ログ */
    protected static final Logger logger = Logger.getLogger(NotFoundController.class.getName());

    @Override
    protected Navigation setUp() {
        logger.info(this.getClass().getName() + " start.");
        return super.setUp();
    }

    @Override
    protected void tearDown() {
        logger.info(this.getClass().getName() + " end.");
        super.tearDown();
    }

    @Override
    public Navigation run() throws Exception {
        return forward(request,"404.jsp",true,true);
    }
}
